﻿using Wicresoft.SMS.Gateway.Host;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace SMS.Gateway.Host.Test
{
    
    
    /// <summary>
    ///This is a test class for ISMSProviderTest and is intended
    ///to contain all ISMSProviderTest Unit Tests
    ///</summary>
    [TestClass()]
    public class ISMSProviderTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        internal virtual ISMSProvider CreateISMSProvider()
        {
            // TODO: Instantiate an appropriate concrete class.
            ISMSProvider target = null;
            return target;
        }

        /// <summary>
        ///A test for QueryMsgState
        ///</summary>
        [TestMethod()]
        public void QueryMsgStateTest()
        {
            ISMSProvider target = CreateISMSProvider(); // TODO: Initialize to an appropriate value
            string MassageId = string.Empty; // TODO: Initialize to an appropriate value
            MsgResult expected = null; // TODO: Initialize to an appropriate value
            MsgResult actual;
            actual = target.QueryMsgState(MassageId);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for SendMsg
        ///</summary>
        [TestMethod()]
        public void SendMsgTest()
        {
            ISMSProvider target = CreateISMSProvider(); // TODO: Initialize to an appropriate value
            string moblie = string.Empty; // TODO: Initialize to an appropriate value
            string content = string.Empty; // TODO: Initialize to an appropriate value
            SMSResult expected = null; // TODO: Initialize to an appropriate value
            SMSResult actual;
            actual = target.SendMsg(moblie, content);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
    }
}
